//
// Created by zhp on 2025/7/18.
//
#include <iostream>

int main() {
    char dog[5] = {'a', '\0', 'c', ' ', 'd'};
    char cat[5] = {'a', 'b', 'c', 'd', '\0'};

    for (const auto &item: dog){
        std::cout << item << std::endl;
    }

    std::cout << "next" << std::endl;

    for (const auto &item: cat){
        std::cout << item << std::endl;
    }
}
